package com.shop.loan.mapper;

import com.shop.loan.model.entity.BlacklistByMybatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlacklistByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BlacklistByMybatis row);

    int insertSelective(BlacklistByMybatis row);

    BlacklistByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BlacklistByMybatis row);

    int updateByPrimaryKey(BlacklistByMybatis row);

    List<BlacklistByMybatis> selectByList(@Param("id") Long id);

    List<BlacklistByMybatis> selectIpByList();

    Integer selectByMobileOrIdCard(@Param("mobile") String mobile,@Param("cardNum") String cardNum);

    int batchInsert(List<BlacklistByMybatis> blacklistByMybatis);
}